body {
    background-image: url(https://p.aiu.pub/s/xW2T.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    font-family: "comic sans ms", '幼圆';
    overflow: hidden;
}
.main {
    width: 400px;
    background-color: rgba(255, 255, 255, .8);
    padding: 40px;
    border-radius: 10px;
    h1 {
        text-align: center;
        margin-bottom: 20px;
    }
    position: fixed;
    z-index: 2;
    bottom: 100px;
    right: 100px;
    .layui-form-label {
        width: 60px;
    }
    .submit-box {
        text-align: center;
        margin-left: 0;
        margin-top: 20px;
    }
    input {
        border-radius: 4px;
    }
}

@media screen and (max-width: 900px) {
    .main {
        width: calc(~"100% - 40px");
        padding: 20px;
        position: relative;
        right: unset;
        bottom: unset;
        margin: 100px auto 0;
        .layui-form-label {
            text-align: left;
            margin-left: 0;
            padding-left: 0;
        }
        .layui-input-block {
            display: block;
            margin-left: 0;
        }
    }
}